<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>使用开源jar包captcha实现验证码</title>
  </head>
  
  <body>
    <form action="submit.action" method="post">
     	<img src="jcaptcha.jpg" /> <input type="text" name="japtcha" value="" />
     	<input type="submit"/>
	</form>
  </body>
</html>
